package com.jingogo.mapper;

import com.jingogo.entity.Promotion;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface PromotionMapper {
    int insert(Promotion promotion);
    int update(Promotion promotion);
    int deleteById(Long id);
    Promotion selectById(Long id);
    List<Promotion> selectAll();
} 